package com.estate.common.core.domain.entity;

import com.estate.common.annotation.Excel;
import com.estate.common.core.domain.BaseEntity;

import java.util.Date;

public class SysBuy extends BaseEntity {
    private static final long serialVersionUID = 1L;
    //主键
    private int id;
    //录入标题
    private String title;
    //详情页对应表的编号
    private int buy_detail_id;
    //图片存储地址(json存储 ) 一张
    private String imgAddress;
    //性质与面积
    private String typeHouse_area;
    //优点标签(json存储)
    private String advantages;
    //是否想要显示 显示/不显示 1/0
    private int if_need_show;
    //价格
    private  int price;

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public int getBuy_detail_id() {
        return buy_detail_id;
    }

    public void setBuy_detail_id(int buy_detail_id) {
        this.buy_detail_id = buy_detail_id;
    }

    public String getImgAddress() {
        return imgAddress;
    }

    public void setImgAddress(String imgAddress) {
        this.imgAddress = imgAddress;
    }

    public String getTypeHouse_area() {
        return typeHouse_area;
    }

    public void setTypeHouse_area(String typeHouse_area) {
        this.typeHouse_area = typeHouse_area;
    }

    public String getAdvantages() {
        return advantages;
    }

    public void setAdvantages(String advantages) {
        this.advantages = advantages;
    }

    public int getIf_need_show() {
        return if_need_show;
    }

    public void setIf_need_show(int if_need_show) {
        this.if_need_show = if_need_show;
    }

    public int getPrice() {
        return price;
    }

    public void setPrice(int price) {
        this.price = price;
    }

    @Override
    public String toString() {
        return "SysBuy{" +
                "id=" + id +
                ", title='" + title + '\'' +
                ", buy_detail_id=" + buy_detail_id +
                ", imgAddress='" + imgAddress + '\'' +
                ", typeHouse_area='" + typeHouse_area + '\'' +
                ", advantages='" + advantages + '\'' +
                ", if_need_show=" + if_need_show +
                ", price=" + price +
                '}';
    }
}
